<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<script type="text/javascript" src="/deng/include/include-css.js"></script>
	<link href="/deng/source/css/bootlist.css" rel="stylesheet" type="text/css" />
	<meta charset="UTF-8">
	<title>活动任务（全部）</title>
	<style>
		.modal-lg {
			max-width: 100%;
			/*width: 85%;*/
			max-width: none;
		}
	</style>
</head>
<body>  
<div class="m-content jehc-content-1">
		<div class="m-portlet">
			<div class="m-portlet__head">
				<div class="m-portlet__head-caption">
					<div class="m-portlet__head-title">
						<h3 class="m-portlet__head-text">
							<span class="m-accordion__item-icon"><i class="flaticon-search"></i>任务列表</span>
						</h3>
					</div>
				</div>
			</div>
			<!--begin::Form-->
			<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed " method="POST" id="searchForm" onsubmit="search('datatables');return false;">
				<div class="m-portlet__body">
					<input type="hidden" class="form-control" name="owner"  id="ownerSearch" placeholder="请输入">
					<input type="hidden" class="form-control" name="transactors"  id="transactorsSearch" placeholder="请输入">
					<input type="hidden" class="form-control" name="candidates"  id="candidatesSearch" placeholder="请输入">
					<input type="hidden" class="form-control" name="group"  id="groupSearch" placeholder="请输入">
					<div class="form-group m-form__group row">
						<label class="col-form-label">任务类型：</label>
						<div class="col-md-1">
							<select class="form-control" name="taskType" id="taskType" onchange="selectOpt();">
								<option value="">全部</option>
								<option value="0">所属人</option>
								<option value="1">经办人</option>
								<option value="2">候选人</option>
								<option value="3">组任务</option>
							</select>
						</div>
						<label class="col-form-label">任务名称：</label>
						<div class="col-md-2">
							<input type="text" class="form-control" name="taskName" placeholder="请输入">
						</div>
						<label class="col-form-label" id="ownerLabel" style="display: none;">任务所属人：</label>
						<div class="col-md-2" id="ownerDiv" style="display: none;">
							<div class="input-group">
								<input type="text" readonly class="form-control m-input" name='ownerText' id="ownerText" placeholder="请选择" aria-describedby="basic-addon2">
								<div class="input-group-append">
									<span style="cursor:pointer;" class="input-group-text" onclick="resetApprover(0)">
										<i class="fa fa-times"></i>
									</span>
								</div>
								<div class="input-group-append">
									<span  style='cursor:pointer;' class="input-group-text" onclick='initApprover(0)'>
										<i class="flaticon-user-ok"></i>
									</span>
								</div>
							</div>
						</div>
						<label class="col-form-label" id="transactorsLabel" style="display: none;">经办人：</label>
						<div class="col-md-2" id="transactorsDiv" style="display: none;">
							<div class="input-group">
								<input type="text" readonly class="form-control m-input" name='transactorsText' id="transactorsText" placeholder="请选择" aria-describedby="basic-addon2">
								<div class="input-group-append">
									<span style="cursor:pointer;" class="input-group-text" onclick="resetApprover(1)">
										<i class="fa fa-times"></i>
									</span>
								</div>
								<div class="input-group-append">
									<span  style='cursor:pointer;' class="input-group-text" onclick='initApprover(1)'>
										<i class="flaticon-user-ok"></i>
									</span>
								</div>
							</div>
						</div>
						<label class="col-form-label" id="candidatesLabel" style="display: none;">候选人：</label>
						<div class="col-md-2" id="candidatesDiv" style="display: none;">
							<div class="input-group">
								<input type="text" readonly class="form-control m-input" name='candidates' id="candidatesText" placeholder="请选择" aria-describedby="basic-addon2">
								<div class="input-group-append">
									<span style="cursor:pointer;" class="input-group-text" onclick="resetApprover(2)">
										<i class="fa fa-times"></i>
									</span>
								</div>
								<div class="input-group-append">
									<span  style='cursor:pointer;' class="input-group-text" onclick='initApprover(2)'>
										<i class="flaticon-user-ok"></i>
									</span>
								</div>
							</div>
						</div>
						<label class="col-form-label"  id="groupLabel" style="display: none;">组：</label>
						<div class="col-md-2"  id="groupDiv" style="display: none;">
							<div class="input-group">
								<input type="text" readonly class="form-control m-input" name='groupText' id="groupText" placeholder="请选择" aria-describedby="basic-addon2">
								<div class="input-group-append">
									<span style="cursor:pointer;" class="input-group-text" onclick="resetApprover(3)">
										<i class="fa fa-times"></i>
									</span>
								</div>
								<div class="input-group-append">
									<span  style='cursor:pointer;' class="input-group-text" onclick='initOrgWin(3)'>
										<i class="flaticon-user-ok"></i>
									</span>
								</div>
							</div>
						</div>
						<a href="javascript:search('datatables')" class="btn btn-light-primary font-weight-bold mr-2">
							<span><i class="fa fa-search"></i><span>检&nbsp;&nbsp;索</span></span>
						</a>
						<a href="javascript:resetForm();" class="btn btn-light-success font-weight-bold mr-2">
							<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
						</a>
					</div>
				</div>
				<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
					<div class="m-form__actions m-form__actions--solid">
						<div class="row">
							<div class="col m--align-left">

							</div>
							<div class="col m--align-right">

							</div>
						</div>
					</div>
				</div>
			</form>
			<!--end::Form-->
		</div>
		<table id="datatables" class="table table-bordered table-striped table-hover">
			<thead>
				<tr>
					<th>序号</th>
					<th>任务名称</th>
					<th>任务所属人</th>
					<th>经办人</th>
					<th>描述</th>
					<th>所属流程</th>
					<th>流程版本</th>
					<th>业务Key</th>
					<th>流程实例</th>
					<th>任务</th>
					<th>节点编号</th>
					<th>租户</th>
					<th>状态</th>
					<th>提交时间</th>
					<th>操作</th>
				</tr>
			</thead>
		</table>
	</div>
</body>
<!-- 流程图监控模态框（Modal）开始 -->
<div class="modal fade" id="lcImageModal" tabindex="-1" role="dialog" aria-labelledby="lcImageModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="lcImageModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="lcImageModalLabel">
					实例监控图
				</h4>
				<button type="button" class="close" data-dismiss="modal" onclick="closeLcImageWin()" aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body" id="lcImagePanelBody" style="overflow:auto;">
					<iframe id="lcImageIframe" scrolling="auto" frameborder="0"  width="100%" height="100%"></iframe>
				</div>
			</div>
			<!--<div class="modal-footer">
                <button type="button" class="btn btn-secondary m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" data-dismiss="modal" onclick="closeLcImageWin()">取 消</button>
            </div>-->
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 流程图监控模态框（Modal）结束 -->

<!-- 流程发布历史记录模态框（Modal）开始 -->
<div class="modal fade" id="lcDeploymentHisModal" tabindex="-1" role="dialog" aria-labelledby="lcDeploymentHisModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="lcDeploymentHisModalDialog">
		<div class="modal-content">
			<div class="modal-header" style="display: none;">
				<h4 class="modal-title" id="lcDeploymentHisModalLabel">
					流程发布历史记录
				</h4>
				<button type="button" class="close" data-dismiss="modal" onclick="closeLcProcessWin()" aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body" id="lcDeploymentHisPanelBody" style="overflow:auto;">
					<iframe id="lcDeploymentHisIframe" scrolling="auto" frameborder="0"  width="100%" height="100%"></iframe>
				</div>
			</div>
			<!--<div class="modal-footer">
                <button type="button" class="btn btn-secondary m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" data-dismiss="modal" onclick="closeLcProcessWin()">取 消</button>
            </div>-->
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 流程发布历史记录模态框（Modal）结束 -->

<!-- 人员设置模态框（Modal）开始 -->
<div class="modal fade" id="lcAssigneeModal" tabindex="-1" role="dialog" aria-labelledby="lcAssigneeModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="lcAssigneeModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="lcAssigneeModalLabel">
					人员设置
				</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body jehc-content-1" id="lcAssigneePanelBody" style="overflow:auto;">
					<div class="panel panel-default">
						<fieldset>
							<legend>查询区域</legend>
							<form method="POST" class="m-form m-form--fit m-form--label-align-right m-form--group-seperator-dashed" id="searchFormUserinfo">
								<input type="hidden" class="form-control" id="lcTaskType">	
								<input type="hidden" class="form-control" id="taskId">
								<div class="form-group m-form__group row">
									<label class="col-form-label">隶属部门</label>
									<div class="col-md-2 ">
										<input type="text" class="form-control" name="xt_departinfo_name" placeholder="请输入">
									</div>
									<label class="col-form-label">岗位</label>
									<div class="col-md-2">
										<input type="text" class="form-control" name="xt_post_name" placeholder="请输入">
									</div>
									<label class="col-form-label">姓名</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_realName" placeholder="请输入">
									</div>
									<label class="col-form-label">账号</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_name" placeholder="请输入">
									</div>
									<a href="javascript:search('userinfoDatatables')" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-search"></i><span>检 索</span></span>
									</a>
									<a href="javascript:resetAll('searchFormUserinfo');" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
									</a>
								</div>
							</form>
						</fieldset>
					</div>
					<div class="panel-body">
						<table id="userinfoDatatables" class="table table-bordered table-striped table-hover">
							<thead>
								<tr>
									<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkallUserinfo" /><span></span></label></th>
									<th>序号</th>
									<th>账号</th>
									<th>姓名</th>
									<th>联系电话</th>
									<th>籍贯</th>
									<th>生日</th>
									<th>电子邮件</th>
								</tr>
							</thead>
						</table>
					</div>
				</div>
			</div>
			<div class="modal-footer">
                <button type="button" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" data-dismiss="modal">取 消</button>
                <button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="doUser();">提交</button>
            </div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 人员设置模态框（Modal）结束 -->

<!-- 审批记录模态框（Modal）开始 -->
<div class="modal fade" id="lcHisLogModal" tabindex="-1" role="dialog" aria-labelledby="lcHisLogModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="lcHisLogModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="lcHisLogModalLabel">
					审批记录
				</h4>
				<button type="button" class="close" data-dismiss="modal"  aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body jehc-content-1" id="lcHisLogPanelBody" style="overflow:auto;">
					<div class="panel panel-default">
						<form method="POST" id="searchFormApproval">
							<input type="hidden" class="form-control" id="instanceId" name="instanceId">	
						</form>
					</div>
					<div class="panel-body">
						<table id="approvalDatatables" class="table table-bordered table-striped table-hover">
							<thead>
								<tr>
									<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkallApproval" /><span></span></label></th>
									<th>序号</th>
									<th>批审状态</th>
									<th>审批内容</th>
									<th>审批时间</th>
									<th>批审人</th>
								</tr>
							</thead>
						</table>
					</div>
				</div>
			</div>
			<!--<div class="modal-footer">
                <button type="button" class="btn btn-secondary m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" data-dismiss="modal">取 消</button>
            </div>-->
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 审批记录模态框（Modal）结束 -->

<!-- 跳转任务模态框（Modal）开始 -->
<div class="modal fade" id="lcTaskJumpModal" tabindex="-1" role="dialog" aria-labelledby="lcTaskJumpModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="lcTaskJumpModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="lcTaskJumpModalLabel">
					节点选择器-任意节点跳转
				</h4>
			</div>
			<div class="modal-body">
				<div class="panel-body" id="lcTaskJumpPanelBody" style="overflow:auto;">
					<div class="panel panel-default">
						<form method="POST" id="lcTaskJumpForm" class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed">
							<input type="hidden" class="form-control" id="processInstanceId" name="processInstanceId">
							<input type="hidden" id="taskIdJump" name="taskId">
							<div class="form-group m-form__group row">
								<label class="col-lg-2 col-form-label">节点</label>
								<div class="col-lg-6">
									<select class="form-control" id="activityId" name="activityId" ></select>
								</div>
							</div>
							<div class="form-group m-form__group row">
								<label class="col-lg-2 col-form-label">类型</label>
								<div class="col-lg-6">
									<select class="form-control" name="endAllActivityInstances" >
										<option value="true">跳转时终止其它任务</option>
										<option value="false">跳转时无需终止其它任务</option>
									</select>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="executeJump()">确定</button>
				<button type="button" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" data-dismiss="modal">取 消</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 跳转任务模态框（Modal）结束 -->

<!-- 任务驳回可选节点模态框（Modal）开始 -->
<div class="modal fade" id="lcTaskBackActiviImplModal" tabindex="-1" role="dialog" aria-labelledby="lcTaskBackActiviImplModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="lcTaskBackActiviImplModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="lcTaskBackActiviImplModalLabel">
					节点选择器-按流程图走向方式
				</h4>
			</div>
			<div class="modal-body">
				<div class="panel-body" id="lcTaskBackActiviImplPanelBody" style="overflow:auto;">
					<div class="panel panel-default">
						<form method="POST" id="lcTaskBackActiviImplForm" class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed">
							<div class="form-group m-form__group row">
								<label class="col-lg-2 col-form-label">节点</label>
								<div class="col-lg-6">
									<input type="hidden" id="taskId_" name="taskId">
									<select class="form-control" id="activityId_" name="activityId" ></select>
								</div>
							</div>
							<div class="form-group m-form__group row">
								<label class="col-lg-2 col-form-label">类型</label>
								<div class="col-lg-6">
									<select class="form-control" name="endAllActivityInstances" >
										<option value="true">驳回时终止其它任务</option>
										<option value="false">驳回时无需终止其它任务</option>
									</select>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="reject()">确定</button>
				<button type="button" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" data-dismiss="modal">取 消</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 任务驳回可选节点模态框（Modal）结束 -->

<!-- 任务详情模态框（Modal）开始 -->
<div class="modal fade" id="lcTaskDetailModal" tabindex="-1" role="dialog" aria-labelledby="lcTaskDetailModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="lcTaskDetailModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="lcTaskDetailModalLabel">
					任务详情<label style="font-size: 20px" id=""></label>
				</h4>
				<button type="button" class="close" data-dismiss="modal"  aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body" id="lcTaskDetailPanelBody">
					<form class="form-horizontal" id="defaultForm" method="post" style='height:350px;overflow: auto;'>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">流程名称</label>
							<div class="col-lg-6">
								<input class="form-control" type="text" id="processTitle" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">产&nbsp;品&nbsp;&nbsp;线</label>
							<div class="col-lg-6">
								<input class="form-control" type="text" maxlength="50"  id="productName">
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">产&nbsp;品&nbsp;&nbsp;组</label>
							<div class="col-lg-6">
								<input class="form-control" type="text" id="groupName" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">租&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;户</label>
							<div class="col-lg-6">
								<input class="form-control" type="text" id="tenantId" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">版&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本</label>
							<div class="col-lg-2">
								<input class="form-control" type="text" id="version" >
							</div>
						</div>

						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">任务名称</label>
							<div class="col-lg-4">
								<input class="form-control" type="text" id="name" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">任务编号</label>
							<div class="col-lg-4">
								<input class="form-control" type="text" id="id" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">开始时间</label>
							<div class="col-lg-4">
								<input class="form-control" type="text" id="startTime" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">结束时间</label>
							<div class="col-lg-4">
								<input class="form-control" type="text" id="endTime" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">耗&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时</label>
							<div class="col-lg-4">
								<input class="form-control" type="text" id="durationInMillis" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">经&nbsp;办&nbsp;&nbsp;人</label>
							<div class="col-lg-2">
								<input class="form-control" type="text" id="assignee" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">发&nbsp;起&nbsp;&nbsp;人</label>
							<div class="col-lg-2">
								<input class="form-control" type="text" id="owner" >
							</div>
						</div>
						<div class="form-group m-form__group row">
							<label class="col-lg-2 col-form-label">流程定义</label>
							<div class="col-lg-4">
								<input class="form-control" type="text" id="processDefinitionId" >
							</div>
						</div>
					</form>
				</div>
			</div>
			<!--<div class="modal-footer">
				<button type="button" class="btn btn-secondary m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" data-dismiss="modal">取 消</button>
			</div>-->
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 任务详情模态框（Modal）结束 -->

<!-- 流程图Bas64模态框（Modal）开始 -->
<div class="modal fade" id="lcProcessInstanceBase64Modal" tabindex="-1" role="dialog" aria-labelledby="lcProcessInstanceBase64ModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="lcProcessInstanceBase64ModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="lcProcessInstanceBase64ModalLabel">
					流程图
				</h4>
				<button type="button" class="close" data-dismiss="modal"  aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body" id="lcProcessInstanceBase64PanelBody">
					<form class="form-horizontal" id="defaultImageForm" method="post" style='height:350px;overflow: auto;'>
						<div class="form-group m-form__group row">
							<img src="" id="imagePath">
						</div>
					</form>
				</div>
			</div>
			<!--<div class="modal-footer">
				<button type="button" class="btn btn-secondary m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" data-dismiss="modal">取 消</button>
			</div>-->
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 流程图Bas64模态框（Modal）结束 -->

<!-- 办理任务操作模态框（Modal）开始 -->
<div class="modal fade" id="dynamicActiviImplModal" tabindex="-1" role="dialog" aria-labelledby="dynamicActiviImplModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="dynamicActiviImplModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="dynamicActiviImplModalLabel">
					办理任务
				</h4>
				<!--<button type="button" class="close" data-dismiss="modal"  aria-hidden="true">&times;</button>-->
			</div>
			<div class="modal-body">
				<div class="panel-body" id="dynamicActiviImplPanelBody" style="overflow:auto;">
					<div class="panel panel-default">
						<form method="POST" id="dynamicActiviImplForm" class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed">
							<input type="hidden" id="taskIdTemp" name="taskId">
							<input type="hidden" id="opinion" name="opinion">
							<input type="hidden" id="mutilValue" name="lcReceiveParams[][mutilValue]">
							<input type="hidden" id="behavior" name="behavior">
							<input type="hidden" id="behaviorText" name="behaviorText">
							<div class="form-group m-form__group row" style="display: none;" id="activityIdDIV">
								<label class="col-lg-1 col-form-label">目标节点</label>
								<div class="col-lg-2">
									<select class="form-control" id="lcJumpRules" name="lcReceiveParams[][activityId]">
										<option value="">请选择</option>
									</select>
								</div>
							</div>
							<div class="form-group m-form__group row">
								<label class="col-lg-1 col-form-label">审批意见</label>
								<div class="col-lg-4">
									<textarea class="form-control" rows="3" id="comment" name="comment" maxlength="800"></textarea>
								</div>
							</div>
							<div class="form-group m-form__group row">
								<label class="col-lg-1 col-form-label">审批类型</label>
								<div class="col-lg-2">
									<select class="form-control" id="nodeBtnId" name="nodeBtnId" onchange="changeAttribute(this)">
										<option value="">请选择</option>
									</select>
								</div>
							</div>
							<div class="form-group m-form__group row" style="display: none;" id="mutilValueDIV">
								<label class="col-lg-1 col-form-label" id="mutilValueLabel">下个节点处理人</label>
								<div class="col-lg-4">
									<div class="input-group">
										<input type="text" readonly class="form-control m-input" id="mutilValueText" placeholder="请选择" aria-describedby="basic-addon2">
										<div class="input-group-append">
											<span style="cursor:pointer;" class="input-group-text" onclick="resetUsersBl()">
												<i class="fa fa-times"></i>
											</span>
												</div>
												<div class="input-group-append">
											<span  style='cursor:pointer;' class="input-group-text" onclick='initUsersBl()'>
												<i class="flaticon-user-ok"></i>
											</span>
										</div>
									</div>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
			<div class="modal-footer" id="btnModules">
				<button class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" data-dismiss="modal">取 消</button>
				<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="doTaskAction()">提 交</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!--办理任务操作模态框（Modal）结束 -->

<!-- 提交任务至下个节点（注意：仅限测试示例）模态框（Modal）开始 -->
<div class="modal fade" id="nextNodeModal" tabindex="-1" role="dialog" aria-labelledby="nextNodeModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="nextNodeModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="nextNodeModalLabel">
					提交任务至下个节点（注意：仅限测试示例）
				</h4>
				<button type="button" class="close" data-dismiss="modal"  aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body" id="nextNodePanelBody">
					<form class="form-horizontal" id="defaultNextNodeForm" method="post">
						<input type="hidden" id="currentTaskId" name="taskId">
						<div class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed">
							<div class="form-group m-form__group row" style='background: #f2f3f5;'>
								<div class="col-md-2">节点名称</div>
								<div class="col-md-1">节点类型</div>
								<div class="col-md-1">是否会签节点</div>
								<div class="col-md-2">指定审批人</div>
								<div class="col-md-2"></div>
								<div class="col-md-2"></div>
							</div>
						</div>
						<div class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" style='height:350px;overflow: auto;' id='nextNodeList'>
						</div>
					</form>
					<div class="m-portlet__foot m-portlet__foot--fit">
						<!--<button type="button" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" data-dismiss="modal">取 消</button>-->
						<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="complate()">完成任务</button>
					</div>
				</div>
			</div>
			<!--<div class="modal-footer">

			</div>-->
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 提交任务至下个节点（注意：仅限测试示例）（Modal）结束 -->

<!-- 审批人模态框（Modal）开始 -->
<div class="modal fade" id="usersModal" tabindex="-1" role="dialog" aria-labelledby="usersModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="usersModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="usersModalLabel">
					人员选择器
				</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body jehc-content-1" id="usersPanelBody" style="overflow:auto;">
					<div class="panel panel-default">
						<fieldset>
							<legend>查询区域</legend>
							<form method="POST" class="m-form m-form--fit m-form--label-align-right m-form--group-seperator-dashed" id="searchFormusers">
								<input type="hidden" class="form-control" id="usersUuid">
								<input type="hidden" class="form-control" id="userMutil">
								<div class="form-group m-form__group row">
									<label class="col-form-label">隶属部门</label>
									<div class="col-md-2 ">
										<input type="text" class="form-control" name="xt_departinfo_name" placeholder="请输入">
									</div>
									<label class="col-form-label">岗位</label>
									<div class="col-md-2">
										<input type="text" class="form-control" name="xt_post_name" placeholder="请输入">
									</div>
									<label class="col-form-label">姓名</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_realName" placeholder="请输入">
									</div>
									<label class="col-form-label">账号</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_name" placeholder="请输入">
									</div>
									<a href="javascript:search('usersDatatables')" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-search"></i><span>检 索</span></span>
									</a>
									<a href="javascript:resetAll('searchFormusers');" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
									</a>
								</div>
							</form>
						</fieldset>
					</div>
					<div class="panel-body">
						<table id="usersDatatables" class="table table-bordered table-striped table-hover">
							<thead>
							<tr>
								<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkallusers" /><span></span></label></th>
								<th>序号</th>
								<th>账号</th>
								<th>姓名</th>
								<th>联系电话</th>
								<th>籍贯</th>
								<th>生日</th>
								<th>电子邮件</th>
							</tr>
							</thead>
						</table>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" data-dismiss="modal">取 消</button>
				<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="doSelectUsers();">确认</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 审批人模态框（Modal）结束 -->

<!-- 办理任务审批人模态框（Modal）开始 -->
<div class="modal fade" id="usersBlModal" tabindex="-1" role="dialog" aria-labelledby="usersBlModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="usersBlModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="usersBlModalLabel">
					人员选择器
				</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body jehc-content-1" id="usersBlPanelBody" style="overflow:auto;">
					<div class="panel panel-default">
						<fieldset>
							<legend>查询区域</legend>
							<form method="POST" class="m-form m-form--fit m-form--label-align-right m-form--group-seperator-dashed" id="searchFormusersBl">
								<div class="form-group m-form__group row">
									<label class="col-form-label">隶属部门</label>
									<div class="col-md-2 ">
										<input type="text" class="form-control" name="xt_departinfo_name" placeholder="请输入">
									</div>
									<label class="col-form-label">岗位</label>
									<div class="col-md-2">
										<input type="text" class="form-control" name="xt_post_name" placeholder="请输入">
									</div>
									<label class="col-form-label">姓名</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_realName" placeholder="请输入">
									</div>
									<label class="col-form-label">账号</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_name" placeholder="请输入">
									</div>
									<a href="javascript:search('usersBlDatatables')" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-search"></i><span>检 索</span></span>
									</a>
									<a href="javascript:resetAll('searchFormusersBl');" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
									</a>
								</div>
							</form>
						</fieldset>
					</div>
					<div class="panel-body">
						<table id="usersBlDatatables" class="table table-bordered table-striped table-hover">
							<thead>
							<tr>
								<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkallusersBl" /><span></span></label></th>
								<th>序号</th>
								<th>账号</th>
								<th>姓名</th>
								<th>联系电话</th>
								<th>籍贯</th>
								<th>生日</th>
								<th>电子邮件</th>
							</tr>
							</thead>
						</table>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" data-dismiss="modal">取 消</button>
				<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="doSelectUsersBl();">确认</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 办理任务审批人模态框（Modal）结束 -->

<!-- 审批人查询选择器模态框（Modal）开始 -->
<div class="modal fade" id="ApproverModal" tabindex="-1" role="dialog" aria-labelledby="usersModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="ApproverModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="ApproverModalLabel">
					人员选择器
				</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body jehc-content-1" id="ApproverPanelBody" style="overflow:auto;">
					<div class="panel panel-default">
						<fieldset>
							<legend>查询区域</legend>
							<form method="POST" class="m-form m-form--fit m-form--label-align-right m-form--group-seperator-dashed" id="searchFormApprover">
								<input type="hidden" class="form-control" id="searchType" placeholder="请输入">
								<div class="form-group m-form__group row">
									<label class="col-form-label">隶属部门</label>
									<div class="col-md-2 ">
										<input type="text" class="form-control" name="xt_departinfo_name" placeholder="请输入">
									</div>
									<label class="col-form-label">岗位</label>
									<div class="col-md-2">
										<input type="text" class="form-control" name="xt_post_name" placeholder="请输入">
									</div>
									<label class="col-form-label">姓名</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_realName" placeholder="请输入">
									</div>
									<label class="col-form-label">账号</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_name" placeholder="请输入">
									</div>
									<a href="javascript:search('ApproverDatatables')" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-search"></i><span>检 索</span></span>
									</a>
									<a href="javascript:resetAll('searchFormApprover');" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
									</a>
								</div>
							</form>
						</fieldset>
					</div>
					<div class="panel-body">
						<table id="ApproverDatatables" class="table table-bordered table-striped table-hover">
							<thead>
							<tr>
								<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkallApprover" /><span></span></label></th>
								<th>序号</th>
								<th>账号</th>
								<th>姓名</th>
								<th>联系电话</th>
								<th>籍贯</th>
								<th>生日</th>
								<th>电子邮件</th>
							</tr>
							</thead>
						</table>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" data-dismiss="modal">取 消</button>
				<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="doSelectApprover();">确认</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 审批人查询选择器模态框（Modal）结束 -->

<!-- 组织架构查询选择器模态框（Modal）开始 -->
<div class="modal fade" id="orgModal" tabindex="-1" role="dialog" aria-labelledby="orgModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" id="orgModalDialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="orgModalLabel">
					组织架构
				</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			</div>
			<div class="modal-body">
				<div class="panel-body jehc-content-1" id="orgPanelBody" style="overflow:auto;">
					<div class="panel-body">
						<div class="form-group m-form__group row">
							<div class="col-md-4">
								<select class="form-control" style="width: 150px;" id="candidate_group_type"  placeholder="请选择" onchange="canditateGroupChange(this)">
									<option value="">请选择</option>
									<option value="0">部门</option>
									<option value="1">岗位</option>
									<option value="2">角色</option>
								</select>
								<input type="hidden" id="checkedOrg" value="0">
								<input type="hidden" id="expandOrg" value="0">
								<div id="orgTree" class="tree-demo">
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer">
<!--
				<button type="button" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" data-dismiss="modal">取 消</button>
-->
				<button type="button" class="btn btn-light-success mr-1 m-btn m-btn--custom m-btn--icon" onclick="checkAllOrg();">全选/反选</button>
				<button type="button" class="btn btn-light-success mr-1 m-btn m-btn--custom m-btn--icon" onclick="expandOrg();">展开/收缩</button>
				<button type="button" class="btn btn-light-success mr-1 m-btn m-btn--custom m-btn--icon" onclick="doOrgSelect();">确认</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 组织架构查询选择器模态框（Modal）结束 -->

<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/view/workflow/lc-task/lc-task-list.js"></script>
<script type="text/javascript" src="/deng/view/workflow/lc-task/lc-task-detail.js"></script>
<script type="text/javascript" src="/deng/view/workflow/lc-task/lc-task-uncustomize.js"></script>
<script type="text/javascript" src="/deng/view/workflow/lc-task/lc-task-attribute.js"></script>
<link href="/deng/source/plugins/other/jstree/dist/themes/default/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/deng/source/plugins/other/jstree/dist/jstree.js"></script>
<link href="/deng/source/plugins/newAdmin/datatables/1.12.1/FixedHeader-3.2.3/css/fixedHeader.dataTables.css" rel="stylesheet" type="text/css" />
<link href="/deng/source/plugins/newAdmin/datatables/1.12.1/FixedColumns-4.1.0/css/fixedColumns.dataTables.css" rel="stylesheet" type="text/css" />
<link href="/deng/source/plugins/newAdmin/datatables/1.12.1/Scroller-2.0.6/css/scroller.dataTables.css" rel="stylesheet" type="text/css" />
<link href="/deng/source/plugins/newAdmin/datatables/1.12.1/ColReorder-1.5.6/css/colReorder.dataTables.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/deng/source/plugins/newAdmin/datatables/1.12.1/FixedHeader-3.2.3/js/dataTables.fixedHeader.min.js"></script>
<script type="text/javascript" src="/deng/source/plugins/newAdmin/datatables/1.12.1/FixedColumns-4.1.0/js/dataTables.fixedColumns.min.js"></script>
<script type="text/javascript" src="/deng/source/plugins/newAdmin/datatables/1.12.1/Scroller-2.0.6/js/scroller.dataTables.min.js"></script>
<script type="text/javascript" src="/deng/source/plugins/newAdmin/datatables/1.12.1/ColReorder-1.5.6/js/colReorder.dataTables.min.js"></script>
<style>
	.tab-content {
		padding: 0px 0 0 0;
	}
	a {
		text-decoration: none;
	}
	/*正常的未被访问过的链接*/
	a:link {
		text-decoration: none;
	}
	/*已经访问过的链接*/
	a:visited {
		text-decoration: none;
	}
	/*鼠标划过(停留)的链接*/
	a:hover {
		text-decoration: none;
	}
	/* 正在点击的链接*/
	a:active {
		text-decoration: none;
	}
	.nav-tabs-vertical a.active {
		color: #409eff;
		border-right: 1px solid #409eff;
		border-top: 0;
		border-left: 0;
	}
	.nav-tabs-vertical a, .user-intro h4, .user-skill .user-info li h5 {
		margin-bottom: .5rem;
	}

	.nav-tabs a {
		text-align: left;
		padding: .9rem;
		color: #464a53;
		font-size: 1.1rem;
	}

	.tab-content {
		padding: 5px 0 0 0;
	}
	.modal-lg {
		max-width: 100%;
		/*width: 75%;*/
		max-width: none;
	}
	.select2-container--default .select2-selection--multiple .select2-selection__rendered {
		box-sizing: border-box;
		list-style: none;
		margin: 0;
		padding:.75rem;
		width: 100%;
	}
	.tabs-bordered li a.active {
		border-bottom: 2px solid #409eff !important;
	}
	.card-box {
		padding: 0px;
	}


	.vakata-context, .vakata-context ul {
		background: #ffffff;
		-webkit-box-shadow: 0px 0px 15px 1px rgb(69 65 78 / 20%);
		box-shadow: 0px 0px 15px 1px rgb(69 65 78 / 20%);
		border: 0;
	}
	.vakata-context, .vakata-context ul {
		padding: 0;
		min-width: 125px;
		font-size: 1rem;
		font-family: Poppins;
		border-radius: 4px;
	}
	.vakata-context, .vakata-context ul {
		position: absolute;
	}
</style>
</body>  
</html> 